﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.UserSkins;
using DevExpress.XtraBars;
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraBars.Helpers;
namespace NotebookS2
{
    public partial class ReceiptMenu :RibbonForm
    {
        public ReceiptMenu()
        {
            InitializeComponent();
        }
        
        
        public string ActiveUserID { get; set; }
        public string ConnectionString { get; set; }

        private void CashReceiptMenu_Load(object sender, EventArgs e)
        {

        }

        private void btnCashReceipt_Click(object sender, EventArgs e)
        {
            Receipt_Cash oForm = new Receipt_Cash();

            oForm.ConnectionString = this.ConnectionString;
            oForm.ActiveUserID = this.ActiveUserID;

            oForm.MdiParent = this.ParentForm;
            oForm.Show();

            this.Close();
        }

        private void btnCheckReceipt_Click(object sender, EventArgs e)
        {
            Receipt_Check oForm = new Receipt_Check();

            oForm.ConnectionString = this.ConnectionString;
            oForm.ActiveUserID = this.ActiveUserID;

            oForm.MdiParent = this.ParentForm;
            oForm.Show();

            this.Close();
        }

        private void btnReceiptFundTransfer_Click(object sender, EventArgs e)
        {
            Receipt_FT oForm = new Receipt_FT();

            oForm.ConnectionString = this.ConnectionString;
            oForm.ActiveUserID = this.ActiveUserID;

            oForm.MdiParent = this.ParentForm;
            oForm.Show();

            this.Close();
        }
    }
}
